package com.mars.module.admin.request;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mars.common.request.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 租房记录请求对象 sys_house_rent_record
 *
 * @author mars
 * @date 2024-01-23
 */
@Data
@ApiModel(value = "租房记录对象")
@EqualsAndHashCode(callSuper = true)
public class SysHouseRentRecordRequest extends PageRequest{



    /**
     * 主键ID
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 房屋编号
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "房屋编号")
    private Long houseId;

    /**
     * 用户ID
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    @ApiModelProperty(value = "用户ID")
    private Long userId;

    /**
     * 租赁开始日期
     */
    @ApiModelProperty(value = "租赁开始日期")
    private LocalDate startDate;

    /**
     * 租赁结束日期
     */
    @ApiModelProperty(value = "租赁结束日期")
    private LocalDate endDate;

    /**
     * 状态：1-审核通过 0-未通过
     */
    @ApiModelProperty(value = "状态：1-审核通过 0-未通过")
    private String status;
}
